﻿using System;
using System.Collections.Generic;
using System.Linq;

using Xc.DataAccess.Core;

namespace Xc.DataAccess.Core.Services
{
    public interface ICsvService
    {
        /// <summary>
        /// 写入到文件
        /// </summary>
        /// <param name="fileName"></param>
        /// <param name="value"></param>
        /// <param name="headers"></param>
        /// <returns></returns>
        Result WriteToFile(string fileName, List<string[]> value, params string[] headers);
    }
}
